public class Tank {
    //马力数、携带弹头数
    String horsePower,warheads;

    public Tank(String horsePower, String warhead) {
        this.horsePower = horsePower;
        this.warheads = warheads;
    }

    //启动、爬坡
    public void start() {
        System.out.println("启动");
    }

    public void climbing() {
        System.out.println("爬坡");
    }
}